﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using BLToolkit.DataAccess;
using BLToolkit.Mapping;

namespace Enities
{
    [TableName("ChiTietPhieuNhap")]
    public class ChiTietPhieuNhap : BaseEntity<ChiTietPhieuNhap>
    {
        
        [MapField("MaCTPN"), Identity, PrimaryKey]
        public int MaCTPN { get; set; }
        [MapField("MaPhieuNhap")]
        public string MaPhieuNhap { get; set; }
        [MapField("TheLoai")]
        public string TheLoai { get; set; }
        [MapField("ChuyenNganh")]
        public string ChuyenNganh { get; set; }
        [MapField("SoLuong")]
        public int SoLuong { get; set; }

        //public int TotalCredit
        //{
        //    get { return MaCTPN; }
        //}
    }
}
